package com.cdl.inner;

/**
 * @author cdl
 * @date 2025/10/6
 */
public class Bird {
    int x=5;
    public void fly(){
        System.out.println("fly");
    }
}


class Test1{
    public static void main(String[] args) {
        Bird b = new Bird(){
            public void fly(){
                System.out.println("fly1111");
            }
        };
        b.fly();
    }
}
